# vim:set ft=make:

PF_QCOM_UART-$(CONFIG_PF_QCOM_UART_DM)   := dm
PF_QCOM_UART-$(CONFIG_PF_QCOM_UART_GENI) := geni

OBJECTS_LIBUART       += uart_$(PF_QCOM_UART-y).o
CXXFLAGS_uart-libuart += $(call LIBUART_UART, $(PF_QCOM_UART-y))
PREPROCESS_PARTS      += arm_generic_timer pic_gic
INTERFACES_KERNEL     += generic_timer
RAM_PHYS_BASE         := $(CONFIG_PF_QCOM_RAM_PHYS_BASE)

config_IMPL           += config-arm-qcom
mem_layout_IMPL       += mem_layout-arm-qcom
pic_IMPL              += pic-gic pic-arm-qcom
timer_IMPL            += timer-arm-generic timer-arm-generic-qcom
timer_tick_IMPL       += timer_tick-single-vector
reset_IMPL            += reset-arm-qcom
clock_IMPL            += clock-arm-generic
platform_control_IMPL += platform_control-arm-qcom
context_IMPL          += context-arm-hyp-qcom
iommu_IMPL            += iommu-arm-smmu-500-qcom
